package com.huike.web.controller.report;

import com.huike.common.core.domain.AjaxResult;
import com.huike.report.domain.vo.VulnerabilityMapDto;
import com.huike.report.service.IReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import com.huike.common.core.controller.BaseController;

import java.lang.String;

//线索转换漏斗
@RestController
@RequestMapping("/report")
public class ReportController extends BaseController {

    @Autowired
    private IReportService iReportService;

@GetMapping("/getVulnerabilityMap/{beginCreateTime}/{endCreateTime}")
    public AjaxResult selectVulnerabilityMap(@PathVariable String beginCreateTime,@PathVariable String endCreateTime){
      VulnerabilityMapDto vulnerabilityMapDto =iReportService.selectVulnerabilityMap(beginCreateTime,endCreateTime);
      return AjaxResult.success("查询成功！",vulnerabilityMapDto);
    }






}